<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page  isELIgnored="false"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/bootstrap.min.css" />

    <link href="<%=request.getContextPath()%>/assets/css/font-awesome.css" rel="stylesheet" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <script src="assets/js/jquery-1.10.2.js"></script>
	<script  type="text/javascript" src="<%=request.getContextPath()%>/js/bootstrap.min.js" ></script>
	<link href="assets/css/bootstrap-fileupload.min.css" rel="stylesheet" />
	<link href="assets/css/custom.css" rel="stylesheet" />
	 <link href="assets/css/basic.css" rel="stylesheet" />
	 <link rel="stylesheet" href="css/Orderfont.css"><link>
	  </head>
  
  <body>
               <div class="panel panel-info">
                        <div class="page-header">
		  		<h1><small>修改轮播图<i class="icon-double-angle-right"></i></small></h1>
			</div>
                        <div class="panel-body">
                            <form method="post" role="form" action="carouselManagement/modifyPost/${id }" class="form-horizontal" enctype="multipart/form-data">
                                           
                                       <%--轮播图 1张 --%>                                  
						                     <div class="form-group">
						                        <label class="control-label col-sm-3">上传轮播图照片</label>
						                            <div class="fileupload fileupload-new" data-provides="fileupload" >
						                                <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;"><img src="assets/img/demoUpload.jpg" alt="" /></div> 
						                                <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
						                                
						                                    <span class="btn btn-file btn-success" style="margin:30px"><span class="fileupload-new">选择照片</span><span class="fileupload-exists">更改照片</span><input type="file" name="carousel" accept="image/*"></span>
						                                    <a href="#" class="btn btn-danger fileupload-exists" data-dismiss="fileupload">移除</a>
						                            </div>
						                    </div>                                          
                                       <button type="submit" class="btn btn-info" id="sm">提交</button>

                                    </form>
                            	</div>
                            </div>

<script src="assets/js/bootstrap-fileupload.js"></script>

  </body>
</html>